package com.example.shop_front_api.service;

import com.example.shop_front_api.entity.Product;
import java.util.List;

public interface ProductService {
    Product getProductById(Integer id);

    List<Product> getOnShelfProductsOrderBySales();

    int updateProductStock(Integer productId, Integer quantity);

    int updateProductLockStock(Integer productId, Integer lockStock);
}